#define _CRT_SECURE_NO_WARNINGS 1
#include"list.h"
#include"reverseiterator.h"
#include<iostream>
using namespace std;
int main()
{
	//ljp::test_list1();
	//ljp::test_list2();
	//ljp::test_list3();
	ljp::list<int> lt = { 1,2,3,4,5,6,7 };
	ljp::list<int>::reverse_iterator rit = lt.rbegin();
	while (rit != lt.rend())
	{
		cout << *rit << " ";
		++rit;
	}
	cout << endl;

	return 0;
}